package com.hiwetop.cp;

import com.fj.hiwetoptools.StringUtil;

/**
 * Created by linyu on 2016/12/12.
 */
public class Detail {
    public String url;
    public String title;
    public int id;
    public String replyUrl;
    public String page;

    public String host = "http://www.0591night.com/";
    public String reply = "forum.php?mod=post&action=reply&fid=38&tid={}&extra=page%3D{}&replysubmit=yes&infloat=yes&handlekey=fastpost";

    public Detail(int id,String url,String title,String replyUrl,String page){
        this.id=id;
        this.url=host + url;
        this.title=title;
        this.replyUrl = host + StringUtil.format(reply,id,page);
        this.page = page;
    }

}
